const Router = require("koa-router")

const router = new Router()
const {auth} = require('@/controller/common/baseController')
const { login, regist } = require('@/controller/common/loginController')

// 用户登录
router.post('/login', login)

// 用户注册
router.post('/regist', regist)


module.exports = router
